<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>dummy function (Phar::setAlias is not valid for PharData)</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phardata.offsetunset.html">PharData::offsetUnset</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phardata.setdefaultstub.html">PharData::setDefaultStub</a></div>
 <div class="up"><a href="class.phardata.html">PharData</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="phardata.setalias" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">PharData::setAlias</h1>
  <p class="verinfo">(PHP &gt;= 5.3.0, PECL phar &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">PharData::setAlias</span> &mdash; <span class="dc-title">dummy function (Phar::setAlias is not valid for PharData)</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-phardata.setalias-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>PharData::setAlias</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$alias</code></span>
   )</div>


  <p class="para rdfs-comment">
   Non-executable tar/zip archives cannot have an alias, so this method simply
   throws an exception.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-phardata.setalias-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">alias</code></em></dt>

     <dd>

      <p class="para">
       A shorthand string that this archive can be referred to in <em>phar</em>
       stream wrapper access.  This parameter is ignored.
      </p>
     </dd>

    
   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-phardata.setalias-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-phardata.setalias-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">
   Throws <a href="class.pharexception.html" class="classname">PharException</a> on all method calls
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-phardata.setalias-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="phar.setalias.html" class="function" rel="rdfs-seeAlso">Phar::setAlias()</a> - Set the alias for the Phar archive</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phardata.offsetunset.html">PharData::offsetUnset</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phardata.setdefaultstub.html">PharData::setDefaultStub</a></div>
 <div class="up"><a href="class.phardata.html">PharData</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
